BFE\SavePost B

Total Complexity 82
Dependencies 2
Dependents 0
Total lines 549
Lines of code 368
Logical lines of code 191
Comment lines 124
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
update_or_add_post()
B
35 19 83
fe_sanitize_image()
A
52 9 25
upload_image()
A
45 7 42
is_image_upload_needed()
A
52 8 24
upload_file()
S
50 5 28
gutenberg_save_post()
S
61 5 12
bfe_uploading_image()
S
57 4 16
gutenberg_scripts()
S
58 4 15
after_post_update_redirect()
S
58 4 15
after_post_add_redirect()
S
58 4 15
add_post_thumbnail()
S
62 3 11
init()
S
49 1 37
upload_image_rest_api()
S
60 2 13
update_post()
S
71 2 6
update_attachment_parent()
S
65 2 9
insert_post()
S
69 2 7
new_endpoints()
S
64 1 10